package cn.zqy.demo2.day13StreamAndMethodReference.MethodReference;

public class ObjectMethod {
    //定义一个成员方法,传递字符串,把字符串按照大写输出
    public void getUpper(String s) {
        System.out.println(s.toUpperCase());
    }
}
